package com.ringtheweb.agi.script;

import org.asteriskjava.fastagi.AgiChannel;
import org.asteriskjava.fastagi.AgiException;
import org.asteriskjava.fastagi.AgiRequest;
import org.asteriskjava.fastagi.BaseAgiScript;

import com.ringtheweb.agi.call.CallParameter;

public class PlayListAGIScript extends BaseAgiScript {

	@Override
	public void service(AgiRequest agiRequest, AgiChannel agiChannel)
		throws AgiException {
		
		String playListId = agiRequest.getParameter(CallParameter.PLAY_LIST_ID.toString());
        // Answer the channel...
        answer();
                
                
        // ...and hangup.
        hangup();

		
	}

}
